package com.ngkj.zmfptwebsocket.chatModule.mapper.write;

import com.ngkj.zmfptCommon.common.bean.ChatMessage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author ChenHN
 * @since 2021/11/18 creation
 **/
@Mapper
public interface ChatMessageMapper {

    void insertChatMessage(List<ChatMessage> messages);

    void updateIsRead(@Param("message") ChatMessage message);
}
